package com.sugar.subscribe.course.module.business.controller.app.coachcertificate.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Schema(description = "App - 教练证书新增/修改 Request VO")
@Data
public class AppCoachCertificateSaveReqVO {

    @Schema(description = "证书名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @NotEmpty(message = "证书名称不能为空")
    private String name;

    @Schema(description = "证书图片", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "证书图片不能为空")
    private String image;

}